#!/bin/bash
MODULES="library templates/glutproject test/unittest test/bouncing tools/videocapture tools/dumpinput tools/wheelchair demos/tankwarfare"

for MODULE in $MODULES; do
    CURRENTPATH=`pwd`
    cd $MODULE
    echo "Building module "$MODULE"... "$*
    make $* > /dev/null
    cd $CURRENTPATH
done
